package com.woniuxy.userassembly.service;

import com.woniuxy.common.PageResult;
import com.woniuxy.userassembly.model.RbacRole;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.management.relation.Role;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Liyfi
 * @since 2021-05-22
 */
public interface IRbacRoleService extends IService<RbacRole> {


    int addRole(RbacRole role);



    int delRole(int roleId);

    int updRole(String roleName,int roleId);

    RbacRole findRoleById(int userId);
}
